# users/urls.py
from django.urls import path
from .views import register_user, verify_email, login_user, upload_avatar, get_avatar, delete_avatar
from .views import register_user, verify_email, login_user, logout_user, self_information, bind_luogu_uid

urlpatterns = [
    path('register/', register_user, name='register_user'),  # 注册接口
    path('verify_email/', verify_email, name='verify_email'),  # 邮箱验证接口
    path('login/', login_user, name='login_user'),  # 登录接口
    path('logout/', logout_user, name='logout_user'),
    path('self_information/', self_information, name='self_information'),
    path('bind_luogu_uid/', bind_luogu_uid, name='bind_luogu_uid'),
    path('upload_avatar/', upload_avatar, name='upload_avatar'),
    path('get_avatar/', get_avatar, name='get_avatar'),
    path('delete_avatar/', delete_avatar, name='delete_avatar'),
]